package com.example.demo.design.observe_pattern.two;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 9:33 2021/4/2
 * @Modified By:
 */
public interface Observer {
    String getName();

    void setName(String name);

    /**
     * 支援盟友方法
     */
    void help();

    /**
     * 遭受攻击方法
     * 
     * @param acc
     */
    void beAttacked(AllyControllerCenter acc);
}
